package org.example.api.search.controller.response;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

@Setter
@Getter
@EqualsAndHashCode
@ToString
public class GoodsDocSummeryResponse {
    private String id;
    /**
     * 商品标题
     */
    private String title;
    /**
     * 商品子标题
     */
    private String subTitle;

    /**
     * 商品状态
     */
    private String status;
    /**
     * 销售价格
     */
    private Long price;
    /**
     * 划线价格
     */
    private Long linePrice;
    /**
     * 库存
     */
    private Long stock;

    /**
     * 商品主图
     */
    private String image;
    /**
     * 标签
     */
    private List<Tag> tags;

    /**
     *
     */
    @Getter
    @Setter
    public static class Tag {
        private String name;

        private String type;
    }
}
